package com.hrms.hrms_security.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hrms.hrms_security.dao.SysPositionDao;
import com.hrms.hrms_security.entity.SysPosition;
import com.hrms.hrms_security.service.SysPositionService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * (SysPosition)表服务实现类
 *
 * @author makejava
 * @since 2025-01-15 15:10:19
 */
@Service("sysPositionService")
public class SysPositionServiceImpl extends ServiceImpl<SysPositionDao, SysPosition> implements SysPositionService {

    @Override
    public List<SysPosition> selectPostionTree() {

        List<SysPosition> positions = this.baseMapper.selectList(null);
        return positions;
    }
}

